package logger;

/**
 * Created by qianyu.zm on 2017/3/8.
 */
public class Logger {

    private static final boolean isPrint = false;

    private static int printCount;

    public static void print(String log){
        if(isPrint) {
            System.out.println(printCount++ + "#" + log);
        }
    }

    public static void printWarn(String log ){
        if(isPrint) {
            System.out.println(printCount++ + "#" + log);
        }
    }

    public static void printDebug(String log ){
        System.out.println(printCount++ + "#" + log);
    }
}
